package com.lanxiao.cloud.modules.oauth.infrastructure.enums;

import com.lanxiao.cloud.common.core.enums.BaseEnum;

/**
 * @author ：qiaoliang
 * @date ：2021-10-12
 */
public enum PositionEnum implements BaseEnum<PositionEnum, Integer> {
  TOP(0, "顶部"),
  SEARCH(1, "搜索"),
  RIGHT(2, "右侧");

  private final Integer value;

  private final String desc;

  PositionEnum(Integer value, String desc) {
    this.value = value;
    this.desc = desc;
  }

  @Override
  public Integer getValue() {
    return value;
  }

  @Override
  public String getDesc() {
    return desc;
  }
}

